package gov.fema.hazus.bdc.shared.entity;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.googlecode.objectify.OKey;
import com.googlecode.objectify.annotation.Parent;

@Entity
public class Driver
{
    @Id private Long id;
    //@Parent private OKey<Car> owner;
    private String name;
    
    
    public Driver() {}
    
    public Driver(String name)
    {
    	this.setName(name);
    }

	public void setId(Long id) {
		this.id = id;
	}

	public Long getId() {
		return id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getName() {
		return name;
	}

	/*
	public void setOwner(OKey<Car> owner) {
		this.owner = owner;
	}

	public OKey<Car> getOwner() {
		return owner;
	}
	*/
}
